#ifndef H_BRUSH
#define H_BRUSH

#include "actor.h"
#include "ragDoll.h"

class ParticleSystem;


class Brush: public Actor
{
public:
      ParticleSystem *drawing;          //the particleSystem we draw into

      RagDoll *drawCharacter;           //the character we pick the particleSystem from
      string charPart;                  //the part that holds the particleSystem

      bool bMouseControlled;            //controlled by a mouse, as opposed to some UDP stuff
      Vector3f calcLoc;                 //the location of the drawn Particle
      Vector3f pNormal;                 //the particle's normal

      Brush();
      virtual ~Brush();

      virtual void update(double deltaTime);
      virtual void paint();
      virtual void erase();
      virtual void skin();
      virtual void determineDrawing();
      virtual void calcLocation();
      virtual void create();
};
#endif
